import { RouteRecordRaw } from 'vue-router';

export type IAsyncRouteState = {
  menus: RouteRecordRaw[];
  keepAliveComponents: string[];
  activeMenu: string;
  leftMenu: any[];
  parentId: number;
};

export const state: IAsyncRouteState = {
  menus: [],
  keepAliveComponents: [],
  activeMenu: '',
  leftMenu: [],
  parentId: 1
};
